<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .box {
            width: 1178px;
            height: 174px;
            overflow: hidden;
            position: relative;
            margin: 0 auto;
        }

        .box ul li {
            float: left;
            width: 210px;
            height: 174px;
            overflow: hidden;
        }

        .box ul {
            width: 2000px;
        }

        .box ul li img {
            width: 550px;
            height: 174px;
        }
    </style>
</head>

<body>
    <div class="box">
        <ul>
            <li style="width :550px;"><img src="../images/1.jpg"></li>
            <li><img src="../images/2.jpg"></li>
            <li><img src="../images/3.jpg"></li>
            <li><img src="../images/4.jpg"></li>
        </ul>
    </div>

    <script src="../js/jquery.js"></script>

    <script>
        $(".box li").on("mouseover", function () {
            $(this).stop(true).animate({
                width: 550
            }).siblings(".box li").stop(true).animate({
                width: 210
            })
        })
    </script>

</body>

</html>